//
//  ReportApis.m
//  jzyParents
//
//  Created by 任辰东 on 2022/9/16.
//

#import "ReportApis.h"

@implementation ReportApis

+ (void)ctb_Xq_KaoshiListRequestWithParams:(NSDictionary *)params SuccessBlock:(requestSuccessBlock)success FailureBlock:(requestFailureBlock)failure
{
    [[NetworkManager sharedManager] postDataWithURL:@"/v1/getStuKaoshiList" withParams:params onCompletion:^(NSNumber *code, NSString *msg, id responseData) {
        
        success(code,msg,responseData);
        
    } onError:^(NSNumber *code, NSString *msg) {
        
        failure(code,msg);
    }];
}

+ (void)ctb_Xq_QuankeChengjiPageRequestWithParams:(NSDictionary *)params SuccessBlock:(requestSuccessBlock)success FailureBlock:(requestFailureBlock)failure
{
    [[NetworkManager sharedManager] postDataWithURL:@"/v1/getStuChengjiList" withParams:params onCompletion:^(NSNumber *code, NSString *msg, id responseData) {
        
        success(code,msg,responseData);
        
    } onError:^(NSNumber *code, NSString *msg) {
        
        failure(code,msg);
    }];
}

+ (void)ctb_Xq_KaoshiXuekeListRequestWithParams:(NSDictionary *)params SuccessBlock:(requestSuccessBlock)success FailureBlock:(requestFailureBlock)failure
{
    [[NetworkManager sharedManager] postDataWithURL:@"/v1/getStuKaoshiXuekeList" withParams:params onCompletion:^(NSNumber *code, NSString *msg, id responseData) {
        
        success(code,msg,responseData);
        
    } onError:^(NSNumber *code, NSString *msg) {
        
        failure(code,msg);
    }];
}

+ (void)ctb_Xq_DankeChengjiPageRequestWithParams:(NSDictionary *)params SuccessBlock:(requestSuccessBlock)success FailureBlock:(requestFailureBlock)failure
{
    [[NetworkManager sharedManager] postDataWithURL:@"/v1/getStuXiaotiScore" withParams:params onCompletion:^(NSNumber *code, NSString *msg, id responseData) {
        
        success(code,msg,responseData);
        
    } onError:^(NSNumber *code, NSString *msg) {
        
        failure(code,msg);
    }];
}

+ (void)ctb_Xq_ShitiListRequestWithParams:(NSDictionary *)params SuccessBlock:(requestSuccessBlock)success FailureBlock:(requestFailureBlock)failure
{
    [[NetworkManager sharedManager] postDataWithURL:@"/v1/ctb_Xq_ShitiList" withParams:params onCompletion:^(NSNumber *code, NSString *msg, id responseData) {
        
        success(code,msg,responseData);
        
    } onError:^(NSNumber *code, NSString *msg) {
        
        failure(code,msg);
    }];
}

+ (void)ctb_Xq_ShitiDetailRequestWithParams:(NSDictionary *)params SuccessBlock:(requestSuccessBlock)success FailureBlock:(requestFailureBlock)failure
{
    [[NetworkManager sharedManager] postDataWithURL:@"/v1/ctb_Xq_ShitiDetail" withParams:params onCompletion:^(NSNumber *code, NSString *msg, id responseData) {
        
        success(code,msg,responseData);
        
    } onError:^(NSNumber *code, NSString *msg) {
        
        failure(code,msg);
    }];
}

+ (void)getStuPingjunfenRequestWithParams:(NSDictionary *)params SuccessBlock:(requestSuccessBlock)success FailureBlock:(requestFailureBlock)failure
{
    [[NetworkManager sharedManager] postDataWithURL:@"/v1/getStuPingjunfen" withParams:params onCompletion:^(NSNumber *code, NSString *msg, id responseData) {
        
        success(code,msg,responseData);
        
    } onError:^(NSNumber *code, NSString *msg) {
        
        failure(code,msg);
    }];
}

+ (void)getStuDatikaListRequestWithParams:(NSDictionary *)params SuccessBlock:(requestSuccessBlock)success FailureBlock:(requestFailureBlock)failure
{
    [[NetworkManager sharedManager] postDataWithURL:@"/v1/getStuDatikaList" withParams:params onCompletion:^(NSNumber *code, NSString *msg, id responseData) {
        
        success(code,msg,responseData);
        
    } onError:^(NSNumber *code, NSString *msg) {
        
        failure(code,msg);
    }];
}

@end
